# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corefm
pkgver=3.0.1
pkgrel=0
pkgdesc="A lightweight file-manager from the CoreApps family."
arch="all !armhf" # missing qtdeclarative
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev qt5-qtmultimedia-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corefm/-/archive/v$pkgver/corefm-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="d5a96ff3e4bfdba9649d8a87a0c4415db2fcbcc64e7d59c5de79cc7467755b8967aa377ab122f503058f4f29b316857e189db53433b505121c3badfde19c99ba  corefm-3.0.1.tar.gz"
